package com.sa.estupendos.garena;
import com.sa.estupendos.garena.entity.dao.UserDAO;

import thinlet.*;

public class GarenaBanMain extends Thinlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public GarenaBanMain() throws Exception {
		add(parse("./main.xml"));
	}
	
	public void findUser(String userName, Object table) {
		try {
			
			UserDAO userDao = new UserDAO();
			userDao.findAll();
			
		} catch (NumberFormatException nfe) {
			getToolkit().beep();
		}
	}
	public void listUsers(){
		//UserDAO
	}
	
	public static void main(String[] args) throws Exception {
		new FrameLauncher("GarenaBanMain", new GarenaBanMain(), 800, 600);
	}
}